// FogSetupDlg.cpp : implementation file
//

#include "stdafx.h"
#include "OpenGL.h"
#include "FogSetupDlg.h"


// FogSetupDlg dialog

IMPLEMENT_DYNAMIC(FogSetupDlg, CDialog)

FogSetupDlg::FogSetupDlg(CWnd* pParent /*=NULL*/)
	: CDialog(FogSetupDlg::IDD, pParent)
	, m_modeExp(false)
	, m_modeExp2(false)
	, m_modeLinear(false)
	, m_r(0)
	, m_g(0)
	, m_b(0)
	, m_density(0)
	, m_start(0)
	, m_end(0)
	, m_enable(FALSE)
	, m_boolFirstRadio(FALSE)
{

}

FogSetupDlg::~FogSetupDlg()
{
}

void FogSetupDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, m_r);
	DDV_MinMaxInt(pDX, m_r, 0, 255);
	DDX_Text(pDX, IDC_EDIT52, m_g);
	DDV_MinMaxInt(pDX, m_g, 0, 255);
	DDX_Text(pDX, IDC_EDIT2, m_b);
	DDV_MinMaxInt(pDX, m_b, 0, 255);
	DDX_Text(pDX, IDC_EDIT4, m_density);
	DDX_Text(pDX, IDC_EDIT5, m_start);
	DDX_Text(pDX, IDC_EDIT6, m_end);
	DDX_Check(pDX, IDC_CHECK2, m_enable);
	DDX_Control(pDX, IDC_RADIO1, m_controlMode);
	DDX_Radio(pDX, IDC_RADIO1, m_boolFirstRadio);
}


BEGIN_MESSAGE_MAP(FogSetupDlg, CDialog)
END_MESSAGE_MAP()


// FogSetupDlg message handlers
